//获取视频设置按钮
const vidSetBut = document.querySelector('.set-video')
vidSetBut.addEventListener('click', ()=> {
    //打开一个新窗口
    window.openView.openSetView()
})

//获取音频设置按钮
const audSetBut = document.querySelector('.set-audio')

// 获取最小化按钮
const min = document.querySelector('.box-min')
min.addEventListener('click', ()=> {
    window.operateTitle.controlWin('min')
})

//获取最大化按钮
const maxBut = document.querySelector('.box-max')
maxBut.addEventListener('click', ()=> {
    window.operateTitle.controlWin('max')
})

// 获取关闭窗口的按钮
const cloBut = document.querySelector('.box-close')
cloBut.addEventListener('click', ()=> {
    window.operateTitle.controlWin('close')
})